﻿using MRSite.AutoMapper.Attributes;
using MRSite.Entity;
using ProtoBuf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MRSite.EntityDto
{

    [AutoMapBoth(typeof(navigation))]
    [ProtoContract]
    public class NavigationDto
    {
        [ProtoMember(1)]
        public int id { get; set; }


        [ProtoMember(2)]
        public string nav_type { get; set; }


        [ProtoMember(3)]
        public string name { get; set; }


        [ProtoMember(4)]
        public string title { get; set; }


        [ProtoMember(5)]
        public string sub_title { get; set; }


        [ProtoMember(6)]
        public string link_url { get; set; }


        [ProtoMember(7)]
        public int sort_id { get; set; }


        [ProtoMember(8)]
        public byte is_lock { get; set; }


        [ProtoMember(9)]
        public string remark { get; set; }


        [ProtoMember(10)]
        public int parent_id { get; set; }


        [ProtoMember(11)]
        public string class_list { get; set; }


        [ProtoMember(12)]
        public int class_layer { get; set; }


        [ProtoMember(13)]
        public int channel_id { get; set; }


        [ProtoMember(14)]
        public string action_type { get; set; }



        [ProtoMember(15)]
        public byte is_sys { get; set; }


        [ProtoMember(16)]
        public string icon { get; set; }
    }
}
